package capitulo2;

public class Truck extends Vehicle{

	private String model;
	private String engine;
	private int towingCapacity;
	
	public Truck(){
		setMake("make");
		setNumWheels(4);
		setModel("model");
		setEngine("engine");
		setTowingCapacity(0);
	}
	
	public Truck(String make, String model, String engine, int towingCapacity){
		setMake(make);
		setModel(model);
		setEngine(engine);
		setTowingCapacity(towingCapacity);
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getEngine() {
		return engine;
	}

	public void setEngine(String engine) {
		this.engine = engine;
	}

	public int getTowingCapacity() {
		return towingCapacity;
	}

	public void setTowingCapacity(int towingCapacity) {
		this.towingCapacity = towingCapacity;
	}
	
}
